/* 
 * javascript library for defining the panel and functions
 */